package cn.hs.service;

import cn.hs.entity.Heartmark;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface HeartmarkService {

    /**
     * 查询所有并分页
     * @param heartmark
     * @return
     */
    public PageInfo<Heartmark> selectAll(Integer pageNum, Integer pageSize, Heartmark heartmark);
    //添加
    public int insert(Heartmark heartmark);
    //删除
    public int delete(Integer id);
    //修改
    public int update(Heartmark heartmark);

    Heartmark selectById(Integer id);
}
